<a name="end"></a>

<?=form_open('forum/insert', array('id' => 'forum'));?>

<h4><? if (isset($parent)) echo lang('forum_answer'); else echo lang('forum_new_entry');?></h4>

<? if (isset($error)) echo $error;?>

	<?=lang('forum_subject','subject')?><br/>
	<input class="text" size="80" maxlength="200" name="subject" value="<? if (isset($subject)) echo $subject ?>"/><br/>
	<?=lang('forum_message','message')?><br/>
	<textarea class="text" name="message" rows="15" cols="80"><? if (isset($message)) echo $message ?></textarea><br/>

	<input class="submit" type="submit"
		value="<? if (isset($parent)) echo lang('forum_answer'); else echo lang('forum_new_entry');?>"/><br/>
	
<div id="bbcode"><ul>
	<li>Text fett formatieren: [b]Text[/b]</li>
	<li>Text kursiv formatieren: [i]Text[/i]</li>
	<li>Link einfügen: [link=http://www.domain.tld/]Link[/link] oder [link]http://www.domain.tld/[/link]</li>
	<li>Bild einfügen: [img]http://domain.tld/image.jpg[/img]</li>
</ul></div>
	<? if (isset($parent)) echo '<input type="hidden" name="parent" value="'.$parent.'"/>';?>

<?=form_close();?>
